#ifndef __POSLOGICTRANSFERRECIEVER_H__
#define __POSLOGICTRANSFERRECIEVER_H__

#include "gwmessagetab.hpp"
#include "IMessageOperator.h"
#include "protonet.hpp"
#include "../NetMessageTab.h"

/**
*@file       PosLogicTransferReciever.h
*@brief      process message PosLogicTransfer
*
*@author     graywind
*@version    1.0.0.0
*@data       2012/3/22
*/

///process message
class OnPosLogicTransfer
{
public:
    ///@brief    process message
    ///param[in] op            operator type
    ///param[in] session_id    identifier of session
    ///param[in] pMsgBuffer    message buffer
    ///param[in] msg_bytes     byte length of message buffer
    ///retval    void
    static void OnMapping(IMessageOperator* op, int session_id, void* pMsgBuffer, unsigned long msg_bytes)
    {
        //TODO
    }
};

///[message group]  [message type]  [function table] [handler]
RegisterMessageTab(NetMessageTypes, PosLogicTransfer, NetMessageTab, OnPosLogicTransfer);
#endif
